﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D6B RID: 3435
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PropChessRogueInfo : IMessage<PropChessRogueInfo>, IMessage, IEquatable<PropChessRogueInfo>, IDeepCloneable<PropChessRogueInfo>, IBufferMessage
	{
		// Token: 0x17002B90 RID: 11152
		// (get) Token: 0x06009A1F RID: 39455 RVA: 0x0019B894 File Offset: 0x00199A94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PropChessRogueInfo> Parser
		{
			get
			{
				return PropChessRogueInfo._parser;
			}
		}

		// Token: 0x17002B91 RID: 11153
		// (get) Token: 0x06009A20 RID: 39456 RVA: 0x0019B89B File Offset: 0x00199A9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PropChessRogueInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002B92 RID: 11154
		// (get) Token: 0x06009A21 RID: 39457 RVA: 0x0019B8AD File Offset: 0x00199AAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PropChessRogueInfo.Descriptor;
			}
		}

		// Token: 0x06009A22 RID: 39458 RVA: 0x0019B8B4 File Offset: 0x00199AB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropChessRogueInfo()
		{
		}

		// Token: 0x06009A23 RID: 39459 RVA: 0x0019B8BC File Offset: 0x00199ABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropChessRogueInfo(PropChessRogueInfo other) : this()
		{
			this.enterNextCell_ = other.enterNextCell_;
			this.kAENCJPCIFK_ = other.kAENCJPCIFK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009A24 RID: 39460 RVA: 0x0019B8ED File Offset: 0x00199AED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropChessRogueInfo Clone()
		{
			return new PropChessRogueInfo(this);
		}

		// Token: 0x17002B93 RID: 11155
		// (get) Token: 0x06009A25 RID: 39461 RVA: 0x0019B8F5 File Offset: 0x00199AF5
		// (set) Token: 0x06009A26 RID: 39462 RVA: 0x0019B8FD File Offset: 0x00199AFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool EnterNextCell
		{
			get
			{
				return this.enterNextCell_;
			}
			set
			{
				this.enterNextCell_ = value;
			}
		}

		// Token: 0x17002B94 RID: 11156
		// (get) Token: 0x06009A27 RID: 39463 RVA: 0x0019B906 File Offset: 0x00199B06
		// (set) Token: 0x06009A28 RID: 39464 RVA: 0x0019B90E File Offset: 0x00199B0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool KAENCJPCIFK
		{
			get
			{
				return this.kAENCJPCIFK_;
			}
			set
			{
				this.kAENCJPCIFK_ = value;
			}
		}

		// Token: 0x06009A29 RID: 39465 RVA: 0x0019B917 File Offset: 0x00199B17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PropChessRogueInfo);
		}

		// Token: 0x06009A2A RID: 39466 RVA: 0x0019B925 File Offset: 0x00199B25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PropChessRogueInfo other)
		{
			return other != null && (other == this || (this.EnterNextCell == other.EnterNextCell && this.KAENCJPCIFK == other.KAENCJPCIFK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009A2B RID: 39467 RVA: 0x0019B964 File Offset: 0x00199B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EnterNextCell)
			{
				num ^= this.EnterNextCell.GetHashCode();
			}
			if (this.KAENCJPCIFK)
			{
				num ^= this.KAENCJPCIFK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009A2C RID: 39468 RVA: 0x0019B9BC File Offset: 0x00199BBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009A2D RID: 39469 RVA: 0x0019B9C4 File Offset: 0x00199BC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009A2E RID: 39470 RVA: 0x0019B9D0 File Offset: 0x00199BD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EnterNextCell)
			{
				output.WriteRawTag(72);
				output.WriteBool(this.EnterNextCell);
			}
			if (this.KAENCJPCIFK)
			{
				output.WriteRawTag(80);
				output.WriteBool(this.KAENCJPCIFK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009A2F RID: 39471 RVA: 0x0019BA2C File Offset: 0x00199C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EnterNextCell)
			{
				num += 2;
			}
			if (this.KAENCJPCIFK)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009A30 RID: 39472 RVA: 0x0019BA6C File Offset: 0x00199C6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PropChessRogueInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EnterNextCell)
			{
				this.EnterNextCell = other.EnterNextCell;
			}
			if (other.KAENCJPCIFK)
			{
				this.KAENCJPCIFK = other.KAENCJPCIFK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009A31 RID: 39473 RVA: 0x0019BABC File Offset: 0x00199CBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009A32 RID: 39474 RVA: 0x0019BAC8 File Offset: 0x00199CC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.KAENCJPCIFK = input.ReadBool();
					}
				}
				else
				{
					this.EnterNextCell = input.ReadBool();
				}
			}
		}

		// Token: 0x04003B52 RID: 15186
		private static readonly MessageParser<PropChessRogueInfo> _parser = new MessageParser<PropChessRogueInfo>(() => new PropChessRogueInfo());

		// Token: 0x04003B53 RID: 15187
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003B54 RID: 15188
		public const int EnterNextCellFieldNumber = 9;

		// Token: 0x04003B55 RID: 15189
		private bool enterNextCell_;

		// Token: 0x04003B56 RID: 15190
		public const int KAENCJPCIFKFieldNumber = 10;

		// Token: 0x04003B57 RID: 15191
		private bool kAENCJPCIFK_;
	}
}
